package org.example.test;

import lombok.Getter;
import org.example.test.service.RentalStrategy;

/**
 * 影片类型和价格规则
 */
@Getter
public enum MovieTypeEnum {
    REGULAR(0,"普通片"),
    NEW_RELEASE(1,"新片"),
    CHILDRENS(2,"儿童片");

    private Integer priceCode;
    private String description;
    private MovieTypeEnum(Integer priceCode,String description){
        this.priceCode = priceCode;
        this.description = description;
    }
}
